package com.kangtu.demoaskpager.ask.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 用户测评明细表
 * </p>
 *
 * @author david
 * @since 2021-03-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class TbUserAnswerDetail implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "ans_detail_id", type = IdType.AUTO)
    private Long ansDetailId;

    /**
     * 用户问答记录id
     */
    private Long userAnsId;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 评测试卷ID
     */
    private Long paperId;

    /**
     * 评测问题ID
     */
    private Long askId;

    /**
     * 选项id
     */
    private Long ansId;

    /**
     * 用户答案
     */
    private String ansValue;

    /**
     * 风险因素id
     */
    private Long riskId;

    /**
     * 删除状态0：未删除1：删除
     */
    private Integer delFlag;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    private LocalDateTime updateTime;


}
